Basic Analysis of Bin-Packing Heuristics
نویسنده
چکیده
The benchmarks have been performed using an Intel Celeron M 1.5 GHz. The results are not too surprising: Obviously, the Next-Fit heuristic is fastest because only 1 bin has to be managed. However, due to the efficient data structure (a priority queue) that has been used for the Max-Rest heuristic, this heuristic will generally be almost as fast as Next-Fit. Furthermore, the implementation of the Best-Fit heuristic has a worst-case running time of O(Kn), where K is the maximum weight. Thus, the slowest algorithms are First-Fit and First-Fit-Decreasing. Detailed results can be studied in the table below. In each set, the best solutions are marked using the dagger symbol “†”. The timing is not accurate for the small running times. This is due to the CLOCKS PER SEC macro that has been used for the benchmarks. Hence, in some cases, the same running times will appear. This means that the running times differ by a very small amount (measured in “raw” CPU cycles). A value of 0 signifies that the measurement is outside the notable range. The algorithms have been compiled with the -O3 optimizations of the g++ compiler. All heuristics have been abbreviated to fit in the table. Thus, MR is Max-Rest, for example. The +-signs after the algorithm names specify whether an optimized version of the algorithm has been used. For implementation details, refer to table 2 on page 6.
منابع مشابه
Data allocation on disks with solution reconfiguration (problems, heuristics)
The paper addresses problem of data allocation in two-layer computer storage while taking into account dynamic digraph(s) over computing tasks. The basic version of data file allocation on parallel hard magnetic disks is considered as special bin packing model. Two problems of the allocation solution recon-figuration (restructuring) are suggested: (i) one-stage restructuring model, (ii) multist...
متن کاملExtending Two-Dimensional Bin Packing Problem: Consideration of Priority for Items
In this paper a two-dimensional non-oriented guillotine bin packing problem is studied when items have different priorities. Our objective is to maximize the total profit which is total revenues minus costs of used bins and wasted area. A genetic algorithm is developed to solve this problem where a new coding scheme is introduced. To evaluate the performance of the proposed GA, first an upper b...
متن کاملAn Alternative Heuristics for Bin Packing Problem
This study describes an alternative development of metaheuristic approaches to automate a one dimensional problem. Extensive computational testing is done to demonstrate the effectiveness of the proposed heuristic, a Variable Neighbourhood Search (VNS)-based algorithm. Several heuristics algorithms that have been used for solving the bin packing problem, Exact algorithm, Random Algorithm, First...
متن کاملVariable size vector bin packing heuristics - Application to the machine reassignment problem
In this paper, we introduce a generalization of the vector bin packing problem, where the bins have variable sizes. This generalization can be used to model virtual machine placement problems. In particular, we study the machine reassignment problem. We propose several greedy heuristics for the variable size vector bin packing problem and show that they are flexible and can be adapted to handle...
متن کاملA Novel GRASP Algorithm for Solving the Bin Packing Problem
The Bin Packing Problem (BPP) is one of the most known combinatorial optimization problems. This problem consists in packing a set of items into a minimum number of bins. There are several variants of this problem; the most basic problem is the onedimensional bin packing problem (1-BPP). In this paper, we present a new approach based on the GRASP procedure to deal with the1-BPP problem. The fir...
متن کاملNew Worst-case Results for the Bin-Packing Problem
In this note we consider the familiar bin-packing problem and provide new worst-case results for a number of classical heuristics. We show that the first-fit and best-fit heuristics have an absolute performance ratio of no more than 1.75, and first-fit decreasing and best-fit decreasing heuristics have an absolute performance ratio of 1.5. The latter is the best possible absolute performance ra...
متن کامل